home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2005 October / PCWOCT05.iso / Software / FromTheMag / XAMPP 1.4.14 / xampp-win32-1.4.14-installer.exe / xampp / phpMyAdmin / phpinfo.php < prev    next >
PHP Script  |  2004-04-07  |  417b  |  21 lines

  1. <?php
  2. /* $Id: phpinfo.php,v 2.3 2004/04/08 12:30:39 ne0x Exp $ */
  3. // vim: expandtab sw=4 ts=4 sts=4:
  4.  
  5.  
  6. /**
  7.  * Gets core libraries and defines some variables
  8.  */
  9. require_once('./libraries/grab_globals.lib.php');
  10. require_once('./libraries/common.lib.php');
  11.  
  12.  
  13. /**
  14.  * Displays PHP information
  15.  */
  16. $is_superuser = @PMA_DBI_try_query('USE mysql', $userlink);
  17. if ($is_superuser || $cfg['ShowPhpInfo']) {
  18.     phpinfo();
  19. }
  20. ?>
  21.